package org.example.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.example.domain.SysDictType;

import java.util.List;

@Mapper
public interface SysDictTypeMapper {

    List<SysDictType> selectList(SysDictType sysDictType);

    int add(SysDictType sysDictType);

    int update(SysDictType sysDictType);

    boolean delete(Integer dictId);


    List<SysDictType> list();

    List<SysDictType> selectAll(SysDictType sysDictType);

    List<SysDictType> selectTypeAll();

    List<SysDictType> selectTypeById(Integer dictId);

    List<SysDictType> selectTypeByType(String dictType);



    boolean deleteAll(List<Long> id);

    void insertBach(List<SysDictType> cacheDataList);
}
